#include "screen.h"
#include <QScreen>
#include <QGuiApplication>
#include <QApplication>
#include <QDebug>

screen::screen() {}

int screen::width = -1;
int screen::height = -1;

void screen::init(){
    QScreen *s = QGuiApplication::primaryScreen();

    screen::height = s->geometry().height();
    screen::width = s->geometry().width();

    qDebug() << "screen::height = " << screen::height << "screen::width = " << screen::width;
}
